﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.BehaviorTree;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.Logic.POI;
using Styx.WoWInternals.WoWObjects;

namespace Healz.Druid.Spells
{
    public static class Innervate
    {
        public const string SpellName = "Innervate";

        public static bool Pulse()
        {
            if (StyxWoW.Me.ManaPercent > Main.cSettings.Innervate_Percent) return false;
            if (!SpellManager.Spells[SpellName].CanCast) return false;
            if (SpellManager.Spells[SpellName].Cooldown) return false;

            // Cast and Write
            Utils.WriteCast(SpellName);
            SpellManager.Cast(SpellName, StyxWoW.Me);

            return true;
        }
    }
}
